﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Survival;
using Survival.Services;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Survival.Towns
{
    class CityHall: Building
    {
        private Vector2 position;
        const int maxIntegrity = 100;
        private int currentIntegrity = maxIntegrity;

        public CityHall(Vector2 position, Town town)
            : base(town)
        {
            this.position = position;
        }


        public override string SpriteName
        {
            get { return "CityHall"; }
        }

        public override Vector2 Position
        {
            get { return position; }
        }

        public override void Update(GameTime gameTime)
        {
            
        }

        public override Integrity_t Integrity
        {
            get { return new Integrity_t(currentIntegrity, maxIntegrity); }
        }
    }
}
